Commerce Scale Unit interaction
- Create a fragment that is named buy box fragment , and add a buy box module to it.
- In the Media slot of the buy box module, add a media gallery module.
- In the Store selector slot of the buy box module, add a store selector module.
- Select Save , select Finish editing to check in the fragment, and then select Publish to publish it.
- Create a template for a product details page, and name it PDP template .
- Add a default page.
- In the Main slot of the default page, add a buy box fragment.
- Select Save , select Finish editing to check in the template, and then select Publish to publish it.
- Use the template that you just created to create a page that is named PDP page .
- In the Main slot of the new page, add a buy box fragment.
-
Save and preview the page. Add the ?productid=
query string parameter to the URL of the preview page. In that way, the product context is used to load and render the preview page. - Select Save , select Finish editing to check in the page, and then select Publish to publish it. A buy box should appear on the product details page.